package com.lagou;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 7. 编写一个Controller测试类及目标方法，响应输出“hello”即可
 * @author chengzhj
 * @data 2021/11/12 1:01 上午
 */
@Slf4j
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String sayHello() {
        return "Hello Lagou!";
    }
}
